package com.winhxd.b2c.customer.service;

import com.winhxd.b2c.common.domain.PagedList;
import com.winhxd.b2c.common.domain.customer.condition.CustomerStoreInfoCondition;
import com.winhxd.b2c.common.domain.customer.condition.ShopPlanCondition;
import com.winhxd.b2c.common.domain.customer.model.CustomerUserInfo;
import com.winhxd.b2c.common.domain.customer.vo.CustomerStoreVO;
import com.winhxd.b2c.common.domain.customer.vo.ShopPlanVO;

public interface CustomerStoreInfoSerivce {

    /**
     * 查询用户门店列表
     * @param condition
     * @return
     */
    PagedList<CustomerStoreVO> findCustomerStoreList(CustomerStoreInfoCondition condition);

    /**
     * 修改门店信息
     * @param condition
     * @return
     */
    Boolean modifyCustomerStoreInfo(CustomerStoreInfoCondition condition);

    /**
     * 通过主键ID返回customerUser对象
     * @param id
     * @return
     */
    CustomerUserInfo getCustomerUserById(Long id);


    /**
     * 开店方案列表
     * @param condition
     * @return
     */
    PagedList<ShopPlanVO> findCustomerShopPlanList(ShopPlanCondition condition);

    /**
     * 通过当前用户查询上级信息
     * @param customerId
     * @return
     */
    CustomerUserInfo getParentCustomerUserByCustoemrId(Long customerId);
}
